home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d2 / pcwiz01.arc / DIR.INS < prev    next >
Text File  |  1991-08-22  |  3KB  |  73 lines

  1. DIR      Used to determine the location of files on the
  2.          disk and to view the directory structure. Also
  3.          provides info on file sizes and dates.
  4.  
  5. Format:  DIR [D:Path][FileSpec] [/P] [/W]
  6.  
  7.    /P    PAUSES at the end of each screen of directory
  8.          listings instead of normal scrolling.
  9.  
  10.    /W    displays directory listing in a WIDE format
  11.          (Five column display without the size, date,
  12.          and time information.)
  13.  
  14. Example:                  DIR
  15.  
  16.    Displays listings of subdirectories and ALL files
  17.    contained in the CURRENT directory in a one column
  18.    format showing filename.ext, size, date and time.
  19. Example:               DIR *.BAT
  20.  
  21.    Lists ONLY those files in the CURRENT directory that
  22.    have an extension of .BAT in a one column, scrolling
  23.    display format.
  24.  
  25. Example:            DIR \123\*.WK1 /P
  26.  
  27.    Lists ONLY those files in the \123 directory that
  28.    have an extension of .WK1 in a one column format and
  29.    PAUSES at the end of each screen.
  30.  
  31. Example:            DIR \123\*.WK1 /P/W
  32.  
  33.    Same as above, except display is in the five column
  34.    format which omits size, date and time. (Useful for
  35.    viewing directories that contain a large number of
  36.    files.)
  37. Example:                 DIR A:
  38.  
  39.    Lists ALL files contained on the diskette residing
  40.    on drive A in the one column, scrolling format.
  41.  
  42. Example:         C:\> DIR D:\WP\DATA\*.TXT
  43.  
  44.    Lists ONLY those files in the \WP\DATA subdirectory
  45.    on drive D: that have an extension of *.TXT in the
  46.    one column, scrolling format. (Note: Command was
  47.    issued while in the ROOT directory of drive C.)
  48.  
  49. Example:       DIR \WP\DATA\*.TXT|SORT >LPT1
  50.  
  51.    Causes a listing of ALL *.TXT files contained on
  52.    the \WP\DATA subdirectory on the CURRENT drive to
  53.    be REDIRECTED to your LPT1 printer, instead of
  54.    being displayed on the monitor screen. With the
  55.    addition of the SORT filter command, this listing
  56.    will also be printed in alphabeltical order.
  57.  
  58. Example:   DIR \WP\DATA\*.TXT|SORT >WPTEXT.BAK
  59.  
  60.    Same as above, except the directory listing is
  61.    placed in a file named WPTEXT.BAK on the CURRENT
  62.    directory. This file can then either be printed
  63.    using the COPY or PRINT commands or displayed on
  64.    the screen using the TYPE command.
  65.  
  66.  
  67. [*]   The DIR command will display listings of ANY
  68.   drive and subdirectory, regardless of your current
  69.   location on the drive, provided you indicate the
  70.   desired [D:][Path] parameters in your command.
  71.  
  72. [*]   Do NOT use SORT with the /P and /W switches.
  73.